package cn.wolfcode.p2p.business.domain;

import cn.wolfcode.p2p.base.domain.BaseDomain;
import cn.wolfcode.p2p.base.domain.LoginInfo;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 线上充值模型
 */
@Getter
@Setter
public class RechargeOnline extends BaseDomain {

    //充值状态
    public static final int STATE_APPLY = 0;
    public static final int STATE_SUCCESS = 1;
    public static final int STATE_ERROR = 2;

    private Integer state = STATE_APPLY;

    private String remark;

    private Date applyTime;

    private LoginInfo applier;

    private String tradeCode;

    private Date tradeTime;

    private BigDecimal amount;

}